package com.example.egarticle.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserLoginParam {
    //@NotNull(message = "数值不能为空")
    @ApiModelProperty(value="用户名",required = true,example = "admin" )
    private String username;
    @ApiModelProperty(value="密码",required = true,example = "123456")
    private String password;
}
